package com.ybkj.daijia.server.service;

import com.ybkj.daijia.server.model.DriverLocationInfo;

/**
 * @author Shine
 */
public interface DriverLocationInfoService {


    /**
     * 新增司机信息
     *
     * @param driver
     * @return
     */
    public DriverLocationInfo insertRecord(DriverLocationInfo driverLocationInfo);

    /**
     * 根据主键更新司机基本信息
     *
     * @param record
     * @return
     */
    public int updateByPrimaryKey(DriverLocationInfo driverLocationInfo);

    /**
     * 根据主键查询司机信息
     *
     * @param id
     * @return
     */
    public DriverLocationInfo findOne(Long id);

    /**
     * 根据用户名查询出管理员信息
     *
     * @param username
     * @return
     */
    public DriverLocationInfo findByEmploy(Long employId);


}
